4D Chart v13CT Array to polygon |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT Array to polygon
CT Array to polygon
CT Array to polygon creates a new polygon in area based on the arrays arrayH and arrayV and returns the new object’s ID. arrayH and arrayV describe the position of each vertex of the polygon. The two arrays can be of type Real, Long Integer, or Integer, and are specified in points. Each array must have at least three elements for the polygon to be successfully created. If the arrays are not the same size, the extra elements in the larger array are ignored. To create a closed polygon, the last value in each array must match the first value. This example fills two arrays and creates a polygon from them. It then moves and resizes the polygon: $Vertices:=Num(Request("Enter number of vertices:")) |
PROPERTIES
Product: 4D Chart
INDEX HISTORY
Created: 4D Chart 1 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||